#include "HistoryEntry.h"

namespace Impp
{

HistoryEntry::HistoryEntry(const db_id & id, const wxDateTime & time, Buddy* buddy,const wxString & msg, bool out) :
	id(id),time(time),buddy(buddy),msg(msg),out(out)
{
}

HistoryEntry::~HistoryEntry()
{
}

wxDateTime HistoryEntry::getTime(){
	return time;
}
Buddy* HistoryEntry::getBuddy(){
	return buddy;
}
wxString HistoryEntry::getMsg(){
	return msg;
}
bool HistoryEntry::isOutgoing(){
	return out;
}
db_id HistoryEntry::getId(){
	return id;
}

}
